home *** CD-ROM | disk | FTP | other *** search
- global gMachineData, gMasterData, gHandCursor, gFingerCursor
-
- on prepareMovie
- setModule(gMasterData, #main)
- set gHandCursor to [member "hand cursor" of castLib "Shared", member "hand mask" of castLib "Shared"]
- set gFingerCursor to [member "finger cursor" of castLib "Shared", member "finger mask" of castLib "Shared"]
- set the exitLock to 1
- if the keyDownScript = EMPTY then
- set the keyDownScript to "quitCatcher"
- end if
- if not activationOn(gMasterData, #video) then
- set the timeoutLength to 75 * 60
- else
- set the timeoutLength to 30 * 60
- end if
- cursor(0)
- end
-
- on clearFields
- set vEmptyList to ["menu1 field", "myself field", "measure field", "history field", "mirror field", "menu2 field", "dm101 field", "reach4 field", "stepfar field", "view field", "menu3 field", "dm202 field", "meeting field", "candles field", "whowhat field", "menu4 field", "review field", "plan field", "eval field", "PrintAllAnswers"]
- repeat with X in vEmptyList
- set the text of member X of castLib "Shared" to EMPTY
- end repeat
- end
-
- on quitNow
- restoreMachine(gMachineData)
- halt()
- end
-
- on playTinaMovie
- stopSounds()
- exitLeafMenu()
- if not activationOn(gMasterData, #video) then
- activate(gMasterData, #video)
- end if
- go("Tina")
- end
-
- on preLoadTina
- if the platform starts "Win" then
- preloadMember(member "intro")
- end if
- end
-
- on stopMovie
- set the preloadRam to 0
- end
-